<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Geral - Cadastro Pessoas</title>
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<fieldset>
<legend>
<font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
<b>Cadastro de Pessoas F/J</b>
</font>
</legend>

<form action="#" method="post" name="form">
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="middle" height="30" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Tipo de pessoa:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left" colspan="3">
 
    <input type="radio" name="pessoa" id="f" value="1" {ck_fisica}/>
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>f&iacute;sica</strong> 
    </font>
	&nbsp;
    <input type="radio" name="pessoa" id="j" value="2" {ck_juridica} />
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>jur&iacute;dica</strong> 
    </font>

    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Categorias:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="3" align="left">
    <input type="checkbox" name="cliente" value="1" {ck_cliente} />
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Cliente</strong> 
    </font>
    &nbsp;
    <input type="checkbox" name="fornecedor" value="1" {ck_fornecedor} />
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Fornecedor</strong> 
    </font>
    &nbsp;
    <input type="checkbox" name="fabrica" value="1" {ck_fabrica} />
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>F&aacute;brica ou Marca</strong> 
    </font>
    &nbsp;
    <input type="checkbox" name="vendedor" value="1" {ck_vendedor} />
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Vendedor</strong> 
    </font>
    &nbsp;
    </td>


    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Nome/Raz&atilde;o:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="nome"  size="30" title="Nome/Raz&atilde;o" value="{nome}" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;CNPJ/CPF:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="doc"  size="20" title="CNPJ/CPF" value="{doc}" onKeyPress="mascara(this,soNumeros);" />
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>


    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Nascimento:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="dtnas"  size="20" maxlength="10" title="Data de Nascimento" value="{dtnas}" OnKeyUp="mascaraData(this);" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;RG:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="rg"  size="20" title="RG" value="{rg}" />
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Tel.Residencial:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="residencial"  size="20" title="Telefone residencial" value="{residencial}" onKeyPress="mascara(this,telefone)"/>
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Tel.Comercial:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="comercial"  size="20" title="Telefone Comercial" value="{comercial}" onKeyPress="mascara(this,telefone)"/>
    </td>

    </tr>


    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Celular:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="celular"  size="20" title="celular" value="{celular}" onKeyPress="mascara(this,telefone)"/>
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Fax:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="fax"  size="20" title="fax" value="{fax}" onKeyPress="mascara(this,telefone)"/>
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;CEP:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="3" align="left">
    <input type="text" name="cep"  size="10" maxlength="9" title="C&oacute;digo Postal" value="{cep}" onkeyup="Formatadata(this,event)" />
    &nbsp;
    </td>


    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Logradouro:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="logradouro"  size="30" title="Logradouro" value="{logradouro}" />
    </td>

    <td width="16%" colspan="2" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Nr:</strong> 
    </font>
    &nbsp;
    <input type="text" name="numero"  size="10" title="N&uacute;mero" value="{numero}"  onKeyPress="mascara(this,soNumeros);" />
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Complemento:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="complemento"  size="30" title="Complemento do Endere&ccedil;o" value="{complemento}" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Bairro:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="bairro"  size="20" title="bairro" value="{bairro}" />
    </td>

    </tr>


    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Cidade:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="cidade"  size="30" title="Cidade" value="{cidade}" />
    </td>

    <td width="16%" colspan="2" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;UF:</strong> 
    </font>
    &nbsp;
    <input type="text" name="uf"  size="4" title="Estado" value="{uf}" maxlength="2" />
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;E-mail:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="4" align="left">
    <input type="text" name="email"  size="50" title="Correio Eletr&ocirc;nico" value="{email}" />
    </td>


    </tr>


    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Site:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="4" align="left">
    <input type="text" name="site"  size="50" title="Endere&ccedil;o Eletr&ocirc;nico" value="{site}" />
    </td>


    </tr>


</table>    


<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="middle" height="38" colspan="2">
    </td>
    </tr>

    <tr>
    <td align="left" valign="middle" colspan="2">
	&nbsp;&nbsp;{botao}&nbsp;{botao2}&nbsp;{botao4}&nbsp;{botao3}
    </td>
    </tr>

    <tr>
    <td valign="middle" height="8" colspan="2">
    </td>
    </tr>

</table>
<input type="hidden" value="{id}" name="id" />
</form>


</div>
</fieldset>

</body>
</html>
